home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / os2 / gnuwget.zip / wget-1.4.3 / windows / Makefile.ms < prev    next >
Makefile  |  1997-01-17  |  3KB  |  123 lines

  1. # Makefile for `wget' utility for MSVC 4.0
  2. # Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
  3.  
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 2 of the License, or
  7. # (at your option) any later version.
  8.  
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU General Public License for more details.
  13.  
  14. # You should have received a copy of the GNU General Public License
  15. # along with this program; if not, write to the Free Software
  16. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17.  
  18. #
  19. # Version: 1.4.3
  20. #
  21.  
  22. SHELL = command
  23.  
  24. VPATH       = .
  25. o           = .obj
  26. OUTDIR      = .
  27.  
  28. CC       = cl.exe
  29. LD       = link.exe
  30.  
  31. CFLAGS   = /nologo /ML /W2 /GX /O2
  32. CPPFLAGS = 
  33. DEFS     = /D "WINDOWS" /D "_CONSOLE" /D "HAVE_CONFIG_H"
  34. LDFLAGS  = /nologo /subsystem:console /incremental:no /machine:I386 #/out:"$(OUTDIR)/wget.exe
  35. LIBS     = kernel32.lib user32.lib shell32.lib wsock32.lib
  36.  
  37. INCLUDES = /I "." /I ".."
  38.  
  39. COMPILE = $(CC) $(INCLUDES) $(CPPFLAGS)  $(DEFS) $(CFLAGS)
  40. LINK    = $(LD) $(LDFLAGS) /out:$@
  41.  
  42. #INSTALL = @INSTALL@
  43. #INSTALL_PROGRAM = @INSTALL_PROGRAM@
  44.  
  45. RM      = del
  46.  
  47. #ETAGS = etags
  48.  
  49. SRC = connect.c host.c http.c netrc.c ftp-basic.c ftp.c ftp-unix.c \
  50.       mtch.c html.c retr.c recur.c url.c init.c utils.c main.c \
  51.       getopt.c atotm.c version.c wsstartup.c
  52.  
  53. OBJ = connect$o host$o http$o netrc$o ftp-basic$o ftp$o ftp-unix$o \
  54.       mtch$o html$o retr$o recur$o url$o init$o utils$o main$o \
  55.       getopt$o atotm$o version$o wsstartup$o
  56.  
  57. .SUFFIXES:
  58. .SUFFIXES: .c .obj
  59.  
  60. .c.obj:
  61.         $(COMPILE) /c $<
  62.  
  63. # Dependencies for building
  64.  
  65. wget: wget.exe
  66.  
  67. wget.exe: $(OBJ)
  68.     $(LINK) $(OBJ) $(LIBS)
  69.  
  70. #
  71. # Dependencies for installing
  72. #
  73.  
  74. ##install: install.bin
  75. ##
  76. ##uninstall: uninstall.bin
  77. ##
  78. ##install.bin: wget
  79. ##        $(top_srcdir)/mkinstalldirs $(bindir)
  80. ##        $(INSTALL_PROGRAM) wget $(bindir)/wget
  81. ##
  82. ##uninstall.bin:
  83. ##        $(RM) $(bindir)/wget
  84. ##
  85.  
  86. #
  87. # Dependencies for cleanup
  88. #
  89.  
  90. clean:
  91.         $(RM) *.obj
  92.         $(RM) *.exe
  93.         $(RM) *.bak
  94.  
  95. distclean: clean
  96.     $(RM) Makefile
  97.  
  98. realclean: distclean
  99.     $(RM) TAGS
  100.  
  101. # Dependencies:
  102.  
  103. atotm$o:
  104. connect$o: systhings.h wget.h options.h utils.h connect.h host.h windecl.h
  105. ftp-basic$o: wget.h options.h utils.h ftp-basic.h connect.h host.h retr.h
  106. ftp-unix$o: wget.h url.h utils.h ftp.h options.h
  107. ftp$o: wget.h options.h utils.h url.h ftp.h ftp-basic.h html.h connect.h host.h http.h mtch.h retr.h netrc.h
  108. getopt$o: getopt.h
  109. host$o: wget.h options.h utils.h url.h host.h
  110. html$o: wget.h options.h url.h utils.h ftp.h html.h http.h
  111. http$o: wget.h options.h utils.h url.h host.h http.h retr.h connect.h mtch.h netrc.h
  112. init$o: wget.h options.h utils.h init.h url.h ftp.h host.h recur.h netrc.h
  113. main$o: wget.h options.h main.h utils.h url.h init.h retr.h recur.h ftp.h getopt.h wsstartup.h
  114. mtch$o: wget.h mtch.h
  115. netrc$o: wget.h utils.h netrc.h options.h
  116. recur$o: wget.h options.h url.h recur.h utils.h retr.h http.h ftp.h mtch.h host.h
  117. retr$o: wget.h options.h utils.h retr.h url.h recur.h ftp.h html.h http.h host.h connect.h
  118. url$o: wget.h options.h utils.h url.h host.h ftp.h mtch.h html.h
  119. utils$o: wget.h utils.h options.h mtch.h
  120. version$o:
  121. wsstartup$o:
  122.  
  123.